package com.mustafaiev.tair.mweather.forecast;

import android.net.Uri;

/**
 * Class describes town for which forecast is actual. Creation date: 28 Aug 2011
 * 19:24:45
 * 
 * @author Tair Mustafaiev
 * 
 */
public class Town {

	private String townNewId;
	private String townOldId;
	private String townName;
	private int latitude;
	private int longitude;

	/**
	 * @return the townNewId
	 */
	public String getTownNewId() {
		return this.townNewId;
	}

	/**
	 * @param townNewId
	 */
	public void setTownNewId(String townNewId) {
		this.townNewId = townNewId;
	}

	/**
	 * @return the townOldId
	 */
	public String getTownOldId() {
		return this.townOldId;
	}

	/**
	 * @param townOldId
	 *            the townOldId to set
	 */
	public void setTownOldId(String townOldId) {
		this.townOldId = townOldId;
	}

	/**
	 * @return town name
	 */
	public String getTownName() {
		return Uri.decode(this.townName);
	}

	/**
	 * @param townName
	 */
	public void setTownName(String townName) {
		this.townName = townName;
	}

	/**
	 * @return latitude
	 */
	public int getLatitude() {
		return this.latitude;
	}

	/**
	 * @param latitude
	 */
	public void setLatitude(int latitude) {
		this.latitude = latitude;
	}

	/**
	 * @return longitude
	 */
	public int getLongitude() {
		return this.longitude;
	}

	/**
	 * @param longitude
	 */
	public void setLongitude(int longitude) {
		this.longitude = longitude;
	}

}
